home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / Manuels & Misc / Assembly / AOA.ZIP / CH06 / EX6_5.IBM < prev    next >
Encoding:
Text File  |  1996-02-04  |  242 b   |  21 lines

  1. #repetitions 1000000
  2. #unravel 256
  3. #code ("WITH EXCHANGE")
  4. %init
  5. mov ax, 346
  6. mov bx, 450
  7. %do
  8. xchg ax, bx
  9. #endcode
  10.  
  11. #code ("WITHOUT EXCHANGE")
  12. %init
  13. mov ax, 346
  14. mov bx, 450
  15. %do
  16. mov dx, ax
  17. mov ax, bx
  18. mov bx, dx
  19. #endcode
  20. #end
  21.